<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span class="hs-comment">-- | This module implements SPDX specification version 2.1 with a version 3.0 license list.</span><span>
</span><span id="line-2"></span><span class="hs-comment">--</span><span>
</span><span id="line-3"></span><span class="hs-comment">-- Specification is available on &lt;https://spdx.org/specifications&gt;</span><span>
</span><span id="line-4"></span><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">Distribution.SPDX</span><span> </span><span class="hs-special">(</span><span>
</span><span id="line-5"></span><span>    </span><span class="annot"><span class="hs-comment">-- * License</span></span><span>
</span><span id="line-6"></span><span>    </span><span class="annot"><a href="Distribution.SPDX.License.html#License"><span class="hs-identifier">License</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span>
</span><span id="line-7"></span><span>    </span><span class="annot"><span class="hs-comment">-- * License expression</span></span><span>
</span><span id="line-8"></span><span>    </span><span class="annot"><a href="Distribution.SPDX.LicenseExpression.html#LicenseExpression"><span class="hs-identifier">LicenseExpression</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span>
</span><span id="line-9"></span><span>    </span><span class="annot"><a href="Distribution.SPDX.LicenseExpression.html#SimpleLicenseExpression"><span class="hs-identifier">SimpleLicenseExpression</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span>
</span><span id="line-10"></span><span>    </span><span class="annot"><a href="Distribution.SPDX.LicenseExpression.html#simpleLicenseExpression"><span class="hs-identifier">simpleLicenseExpression</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-11"></span><span>    </span><span class="annot"><span class="hs-comment">-- * License identifier</span></span><span>
</span><span id="line-12"></span><span>    </span><span class="annot"><a href="Distribution.SPDX.LicenseId.html#LicenseId"><span class="hs-identifier">LicenseId</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span>
</span><span id="line-13"></span><span>    </span><span class="annot"><a href="Distribution.SPDX.LicenseId.html#licenseId"><span class="hs-identifier">licenseId</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-14"></span><span>    </span><span class="annot"><a href="Distribution.SPDX.LicenseId.html#licenseName"><span class="hs-identifier">licenseName</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-15"></span><span>    </span><span class="annot"><a href="Distribution.SPDX.LicenseId.html#licenseIsOsiApproved"><span class="hs-identifier">licenseIsOsiApproved</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-16"></span><span>    </span><span class="annot"><a href="Distribution.SPDX.LicenseId.html#mkLicenseId"><span class="hs-identifier">mkLicenseId</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-17"></span><span>    </span><span class="annot"><a href="Distribution.SPDX.LicenseId.html#licenseIdList"><span class="hs-identifier">licenseIdList</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-18"></span><span>    </span><span class="annot"><span class="hs-comment">-- * License exception</span></span><span>
</span><span id="line-19"></span><span>    </span><span class="annot"><a href="Distribution.SPDX.LicenseExceptionId.html#LicenseExceptionId"><span class="hs-identifier">LicenseExceptionId</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span>
</span><span id="line-20"></span><span>    </span><span class="annot"><a href="Distribution.SPDX.LicenseExceptionId.html#licenseExceptionId"><span class="hs-identifier">licenseExceptionId</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-21"></span><span>    </span><span class="annot"><a href="Distribution.SPDX.LicenseExceptionId.html#licenseExceptionName"><span class="hs-identifier">licenseExceptionName</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-22"></span><span>    </span><span class="annot"><a href="Distribution.SPDX.LicenseExceptionId.html#mkLicenseExceptionId"><span class="hs-identifier">mkLicenseExceptionId</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-23"></span><span>    </span><span class="annot"><a href="Distribution.SPDX.LicenseExceptionId.html#licenseExceptionIdList"><span class="hs-identifier">licenseExceptionIdList</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-24"></span><span>    </span><span class="annot"><span class="hs-comment">-- * License reference</span></span><span>
</span><span id="line-25"></span><span>    </span><span class="annot"><a href="Distribution.SPDX.LicenseReference.html#LicenseRef"><span class="hs-identifier">LicenseRef</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-26"></span><span>    </span><span class="annot"><a href="Distribution.SPDX.LicenseReference.html#licenseRef"><span class="hs-identifier">licenseRef</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-27"></span><span>    </span><span class="annot"><a href="Distribution.SPDX.LicenseReference.html#licenseDocumentRef"><span class="hs-identifier">licenseDocumentRef</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-28"></span><span>    </span><span class="annot"><a href="Distribution.SPDX.LicenseReference.html#mkLicenseRef"><span class="hs-identifier">mkLicenseRef</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-29"></span><span>    </span><span class="annot"><a href="Distribution.SPDX.LicenseReference.html#mkLicenseRef%27"><span class="hs-identifier">mkLicenseRef'</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-30"></span><span>    </span><span class="annot"><span class="hs-comment">-- * License list version</span></span><span>
</span><span id="line-31"></span><span>    </span><span class="annot"><a href="Distribution.SPDX.LicenseListVersion.html#LicenseListVersion"><span class="hs-identifier">LicenseListVersion</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span>
</span><span id="line-32"></span><span>    </span><span class="annot"><a href="Distribution.SPDX.LicenseListVersion.html#cabalSpecVersionToSPDXListVersion"><span class="hs-identifier">cabalSpecVersionToSPDXListVersion</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-33"></span><span>    </span><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-34"></span><span>
</span><span id="line-35"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.SPDX.LicenseExceptionId.html"><span class="hs-identifier">Distribution.SPDX.LicenseExceptionId</span></a></span><span>
</span><span id="line-36"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.SPDX.License.html"><span class="hs-identifier">Distribution.SPDX.License</span></a></span><span>
</span><span id="line-37"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.SPDX.LicenseId.html"><span class="hs-identifier">Distribution.SPDX.LicenseId</span></a></span><span>
</span><span id="line-38"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.SPDX.LicenseExpression.html"><span class="hs-identifier">Distribution.SPDX.LicenseExpression</span></a></span><span>
</span><span id="line-39"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.SPDX.LicenseReference.html"><span class="hs-identifier">Distribution.SPDX.LicenseReference</span></a></span><span>
</span><span id="line-40"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.SPDX.LicenseListVersion.html"><span class="hs-identifier">Distribution.SPDX.LicenseListVersion</span></a></span><span>
</span><span id="line-41"></span></pre></body></html>